﻿using System.Runtime.InteropServices;

namespace Microsoft.Goldenlight.Diablo.AnimationLoader
{
    [StructLayout(LayoutKind.Sequential)]
    public class HeaderEntry
    {
        public int Head;

        public int Version;

        public int Length;

        public int Id;

        public short BeginX;

        public short BeginY;

        public short EndX;

        public short EndY;

        public int ColorsCount;

        public int ColorsReadOffset;

        public int FramesCount;

        public int FramesReadOffset;
    }
}